<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>Crawler: Crawler::Link Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crawler
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_crawler_1_1_link.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_crawler_1_1_link-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Crawler::Link Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Utility class which represents a link.  
 <a href="class_crawler_1_1_link.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_link_8hpp_source.html">Link.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa573a7b693717b4968e5461eae1d0d9d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#aa573a7b693717b4968e5461eae1d0d9d">Link</a> ()=default</td></tr>
<tr class="memdesc:aa573a7b693717b4968e5461eae1d0d9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#aa573a7b693717b4968e5461eae1d0d9d">More...</a><br /></td></tr>
<tr class="separator:aa573a7b693717b4968e5461eae1d0d9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe281adb9739ced6e0431b9dd52e99fb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#afe281adb9739ced6e0431b9dd52e99fb">Link</a> (const std::string &amp;path, const std::string &amp;query, const std::string &amp;fragment)</td></tr>
<tr class="memdesc:afe281adb9739ced6e0431b9dd52e99fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for setting each member but the assigned website.  <a href="#afe281adb9739ced6e0431b9dd52e99fb">More...</a><br /></td></tr>
<tr class="separator:afe281adb9739ced6e0431b9dd52e99fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89b684575312068544a65ecc99bca246"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a89b684575312068544a65ecc99bca246">Link</a> (const std::string &amp;link)</td></tr>
<tr class="memdesc:a89b684575312068544a65ecc99bca246"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for parsing a link.  <a href="#a89b684575312068544a65ecc99bca246">More...</a><br /></td></tr>
<tr class="separator:a89b684575312068544a65ecc99bca246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4616811d7557fdd6e572191217a7c6b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a4616811d7557fdd6e572191217a7c6b3">Link</a> (const <a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;link)</td></tr>
<tr class="memdesc:a4616811d7557fdd6e572191217a7c6b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default copy constructor.  <a href="#a4616811d7557fdd6e572191217a7c6b3">More...</a><br /></td></tr>
<tr class="separator:a4616811d7557fdd6e572191217a7c6b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77a8ec7a710ca721bfaba618c15ea900"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a77a8ec7a710ca721bfaba618c15ea900">Link</a> (<a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&amp;link)</td></tr>
<tr class="memdesc:a77a8ec7a710ca721bfaba618c15ea900"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move constructor.  <a href="#a77a8ec7a710ca721bfaba618c15ea900">More...</a><br /></td></tr>
<tr class="separator:a77a8ec7a710ca721bfaba618c15ea900"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94698caeabaa55b0b4b16ea733792203"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a94698caeabaa55b0b4b16ea733792203">operator=</a> (const <a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;link)</td></tr>
<tr class="memdesc:a94698caeabaa55b0b4b16ea733792203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy assignment operator overloading.  <a href="#a94698caeabaa55b0b4b16ea733792203">More...</a><br /></td></tr>
<tr class="separator:a94698caeabaa55b0b4b16ea733792203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e4f956e93dda3deff3641c3d3188803"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a0e4f956e93dda3deff3641c3d3188803">operator=</a> (<a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&amp;link)</td></tr>
<tr class="memdesc:a0e4f956e93dda3deff3641c3d3188803"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator overloading.  <a href="#a0e4f956e93dda3deff3641c3d3188803">More...</a><br /></td></tr>
<tr class="separator:a0e4f956e93dda3deff3641c3d3188803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a238ee637d3eaafa958f026babea76c17"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a238ee637d3eaafa958f026babea76c17">wasVisited</a> () const </td></tr>
<tr class="memdesc:a238ee637d3eaafa958f026babea76c17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if link was visited.  <a href="#a238ee637d3eaafa958f026babea76c17">More...</a><br /></td></tr>
<tr class="separator:a238ee637d3eaafa958f026babea76c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39ed70d40b4b5364a6510f32214fb9d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a39ed70d40b4b5364a6510f32214fb9d0">setVisited</a> (bool visited)</td></tr>
<tr class="memdesc:a39ed70d40b4b5364a6510f32214fb9d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes if link was visitied.  <a href="#a39ed70d40b4b5364a6510f32214fb9d0">More...</a><br /></td></tr>
<tr class="separator:a39ed70d40b4b5364a6510f32214fb9d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7bf54537b1230e37dd00c75273c901d"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#ad7bf54537b1230e37dd00c75273c901d">getPath</a> () const </td></tr>
<tr class="memdesc:ad7bf54537b1230e37dd00c75273c901d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns path.  <a href="#ad7bf54537b1230e37dd00c75273c901d">More...</a><br /></td></tr>
<tr class="separator:ad7bf54537b1230e37dd00c75273c901d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fe245b48b238800ba4b41e97fed92e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a6fe245b48b238800ba4b41e97fed92e5">setPath</a> (const std::string &amp;path)</td></tr>
<tr class="memdesc:a6fe245b48b238800ba4b41e97fed92e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes path.  <a href="#a6fe245b48b238800ba4b41e97fed92e5">More...</a><br /></td></tr>
<tr class="separator:a6fe245b48b238800ba4b41e97fed92e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ff66f8100180d6c39681ff459c3d44c"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a1ff66f8100180d6c39681ff459c3d44c">getQuery</a> () const </td></tr>
<tr class="memdesc:a1ff66f8100180d6c39681ff459c3d44c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns query.  <a href="#a1ff66f8100180d6c39681ff459c3d44c">More...</a><br /></td></tr>
<tr class="separator:a1ff66f8100180d6c39681ff459c3d44c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac106084c056ba12c23eb445c8fe7294f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#ac106084c056ba12c23eb445c8fe7294f">setQuery</a> (const std::string &amp;query)</td></tr>
<tr class="memdesc:ac106084c056ba12c23eb445c8fe7294f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes query.  <a href="#ac106084c056ba12c23eb445c8fe7294f">More...</a><br /></td></tr>
<tr class="separator:ac106084c056ba12c23eb445c8fe7294f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a756a7fbb4a07e0292346b90784b6926d"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a756a7fbb4a07e0292346b90784b6926d">getFragment</a> () const </td></tr>
<tr class="memdesc:a756a7fbb4a07e0292346b90784b6926d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns fragment.  <a href="#a756a7fbb4a07e0292346b90784b6926d">More...</a><br /></td></tr>
<tr class="separator:a756a7fbb4a07e0292346b90784b6926d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02a04a5a1042d03d287d4ac9191cb350"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a02a04a5a1042d03d287d4ac9191cb350">setFragment</a> (const std::string &amp;fragment)</td></tr>
<tr class="memdesc:a02a04a5a1042d03d287d4ac9191cb350"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes fragment.  <a href="#a02a04a5a1042d03d287d4ac9191cb350">More...</a><br /></td></tr>
<tr class="separator:a02a04a5a1042d03d287d4ac9191cb350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91bca215b33c135699c5755266f075c7"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_link.html#a91bca215b33c135699c5755266f075c7">toString</a> () const </td></tr>
<tr class="memdesc:a91bca215b33c135699c5755266f075c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the link as a string.  <a href="#a91bca215b33c135699c5755266f075c7">More...</a><br /></td></tr>
<tr class="separator:a91bca215b33c135699c5755266f075c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Utility class which represents a link. </p>

<p>Definition at line <a class="el" href="_link_8hpp_source.html#l00012">12</a> of file <a class="el" href="_link_8hpp_source.html">Link.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa573a7b693717b4968e5461eae1d0d9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Link::Link </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a class="anchor" id="afe281adb9739ced6e0431b9dd52e99fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Link::Link </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fragment</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor for setting each member but the assigned website. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>Path ("/directory/file.extension"; "/index.html") </td></tr>
    <tr><td class="paramname">query</td><td>Query ("?Key1=Value1&amp;Key2=Value2") </td></tr>
    <tr><td class="paramname">fragment</td><td>Fragment ("#Fragment") </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00019">19</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a89b684575312068544a65ecc99bca246"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Link::Link </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor for parsing a link. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td>String which gets parsed </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00026">26</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4616811d7557fdd6e572191217a7c6b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Link::Link </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td><a class="el" href="class_crawler_1_1_link.html" title="Utility class which represents a link. ">Link</a> which gets copied </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00051">51</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a77a8ec7a710ca721bfaba618c15ea900"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Link::Link </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default move constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td><a class="el" href="class_crawler_1_1_link.html" title="Utility class which represents a link. ">Link</a> which is moved </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00059">59</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a756a7fbb4a07e0292346b90784b6926d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; Crawler::Link::getFragment </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns fragment. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to fragment </dd></dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00126">126</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad7bf54537b1230e37dd00c75273c901d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; Crawler::Link::getPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns path. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to path </dd></dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00101">101</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1ff66f8100180d6c39681ff459c3d44c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string &amp; Crawler::Link::getQuery </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns query. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to query </dd></dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00115">115</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a94698caeabaa55b0b4b16ea733792203"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_link.html">Crawler::Link</a> &amp; Crawler::Link::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy assignment operator overloading. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td><a class="el" href="class_crawler_1_1_link.html" title="Utility class which represents a link. ">Link</a> which is copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to this </dd></dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00068">68</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0e4f956e93dda3deff3641c3d3188803"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_link.html">Crawler::Link</a> &amp; Crawler::Link::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_link.html">Link</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>link</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Move assignment operator overloading. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">link</td><td><a class="el" href="class_crawler_1_1_link.html" title="Utility class which represents a link. ">Link</a> which is moved </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to this </dd></dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00078">78</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a02a04a5a1042d03d287d4ac9191cb350"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Link::setFragment </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>fragment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changes fragment. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fragment</td><td>New fragment </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00131">131</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6fe245b48b238800ba4b41e97fed92e5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Link::setPath </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changes path. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">scheme</td><td>New path </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00106">106</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac106084c056ba12c23eb445c8fe7294f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Link::setQuery </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changes query. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">scheme</td><td>New query </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00120">120</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a39ed70d40b4b5364a6510f32214fb9d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Link::setVisited </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>visited</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changes if link was visitied. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">visited</td><td>Value which defines if link was visited </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00095">95</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a91bca215b33c135699c5755266f075c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string Crawler::Link::toString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the link as a string. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_crawler_1_1_link.html" title="Utility class which represents a link. ">Link</a></td><td>in string format </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00137">137</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a238ee637d3eaafa958f026babea76c17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Crawler::Link::wasVisited </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if link was visited. </p>
<dl class="section return"><dt>Returns</dt><dd>True if link was visited </dd></dl>

<p>Definition at line <a class="el" href="_link_8cpp_source.html#l00090">90</a> of file <a class="el" href="_link_8cpp_source.html">Link.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Source/Crawler/<a class="el" href="_link_8hpp_source.html">Link.hpp</a></li>
<li>Source/Crawler/<a class="el" href="_link_8cpp_source.html">Link.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_crawler.html">Crawler</a></li><li class="navelem"><a class="el" href="class_crawler_1_1_link.html">Link</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
